/*
 * Author: http://www.redwolf-soft.com
 * All Rights Reserved
 * 
 * 2013.11
 *   
 * */
package com.redwolfsoft.libshoppingserver.common;

public class HttpConstants {


	public final static String REQ_ID = "req_id";
	public final static String REQ_BRAND_ID= "req_brandid";
	public final static String REQ_SHOPPINGCENTER_ID= "req_shoppingcenterid";
	public final static String REQ_LONGITUDE = "req_longitude";
	public final static String REQ_LATITUDE = "req_latitude";
	public final static String REQ_ADDRESS = "req_address";
	public final static String REQ_USER = "req_user";
	public final static String REQ_DEVICEID = "req_deviceid";
	public final static String REQ_PASSWD = "req_passwd";
	public final static String REQ_REVIEW = "req_review";
	public final static String REQ_SHOPPINGCENTER_TYPE = "req_shoppingcenter_type";
	public final static String REQ_NEWPROUDCT_ID = "req_newproduct_id";
	public final static String REQ_STORY_ID = "req_story_id";
	public final static String REQ_EMAIL= "req_email";
	public final static String REQ_GENDER= "req_gender";
	public final static String REQ_BIRTHDATE= "req_birthdate";
	public final static String REQ_MOBILE= "req_mobile";
	public final static String REQ_USER_ID= "req_userid";
	public final static String REQ_COUNTRY_ID= "req_countryid";
	public final static String REQ_FEEDBACK= "req_feedback";
	public final static String REQ_FEEDBACK_QQ= "req_feedback_qq";
	public final static String REQ_PAGE= "req_page";
	/**	
	 * 为0时，表示要获取附近购物中心列表， 
	 * 为1时表示获取推荐的列表，其他参数无意义;
	 * 为2时，表示搜索某地附近列表	
	 * */
	public final static int SHOPPINGCENTER_TYPE_NEARBY= 0;
	/**
	 * @deprecated
	 * */
	public final static int SHOPPINGCENTER_TYPE_RECOMMEND= 1;
	public final static int SHOPPINGCENTER_TYPE_SEARCH= 2;
	
	public final static String REQ_SHOPPINGCENTER_SHOP_TYPE = "req_shoppingcenter_shop_type";
	public final static int SHOPPINGCENTER_SHOP_TYPE_GENERAL= 0;
	public final static int SHOPPINGCENTER_SHOP_TYPE_FLOOR= 1;
	
	public final static String KEY_RESULT = "result";	
	public final static String KEY_RESULT_CODE = "resultcode";
	public final static String KEY_RESULT_KO_BRIEF= "failbrief";
	
	public final static int RESPONSE_CODE_PARSE_ERROR = 1;
	public final static int RESPONSE_CODE_OK = 0;
	public final static int RESPONSE_CODE_KO = -1;
	public final static int RESPONSE_CODE_ERROR = -2;
	public final static int RESPONSE_CODE_NOT_LOGIN = -3;
	public final static int RESPONSE_CODE_WRONG_PERMISSION = -4;
	public final static int RESPONSE_CODE_WRONG_VERIFICATION_CODE = -5;
	
	public final static int HTTP_REQUEST_CODE_CATEGORY_BRAND_LIST = 0;
	public final static int HTTP_REQUEST_CODE_NEW_PRODUCT_LIST = 1;
	public final static int HTTP_REQUEST_CODE_AREA_BRANDSHOP_LIST = 2;
	public final static int HTTP_REQUEST_CODE_BRANDREVIEW_LIST = 3;
	public final static int HTTP_REQUEST_CODE_BRAND_ESHOP_LIST =4;	
	public final static int HTTP_REQUEST_CODE_BRAND_ADD_REVIEW =5;
	public final static int HTTP_REQUEST_CODE_BRAND_STORY =6;
	public final static int HTTP_REQUEST_CODE_BRAND_STORY_REVIEW_LIST =7;
	public final static int HTTP_REQUEST_CODE_BRAND_STORY_ADD_REVIEW =8;
	public final static int HTTP_REQUEST_CODE_NEW_PRODUCT_APPLAUD = 9;
	public final static int HTTP_REQUEST_CODE_BRAND_SHOP_LIST_SEARCH = 10;
	public final static int HTTP_REQUEST_CODE_BRAND_NEW_PRODUCT_IS_APPLAUD = 11;
	
	
	
	public final static int HTTP_REQUEST_CODE_SHOPPINGCENTER_LIST = 100;
	public final static int HTTP_REQUEST_CODE_SHOPPINGCENTER_ACTIVITIES_LIST = 101;
	public final static int HTTP_REQUEST_CODE_SHOPPINGCENTER_SHOP_LIST = 102;
	public final static int HTTP_REQUEST_CODE_SHOPPINGCENTER_BRAND_LIST = 103;
	public final static int HTTP_REQUEST_CODE_SHOPPINGCENTER_LIST_RECOMMEND = 104;
	
	public final static int HTTP_REQUEST_CODE_FAVORITED_SHOPPINGCENTER_LIST = 300;
	public final static int HTTP_REQUEST_CODE_FAVORITED_BRAND_LIST = 301;
	public final static int HTTP_REQUEST_CODE_FAVORITE_SHOPPINGCENTER = 302;
	public final static int HTTP_REQUEST_CODE_FAVORITE_BRAND = 303;
	public final static int HTTP_REQUEST_CODE_IS_FAVORITE_SHOPPINGCENTER = 304;
	public final static int HTTP_REQUEST_CODE_IS_FAVORITE_BRAND = 305;
	public final static int HTTP_REQUEST_CODE_CANCEL_FAVORITE_SHOPPINGCENTER = 306;
	public final static int HTTP_REQUEST_CODE_CANCEL_FAVORITE_BRAND = 307;
	
	public final static int HTTP_REQUEST_CODE_REGISTER = 400;
	public final static int HTTP_REQUEST_CODE_LOGIN = 401;
	public final static int HTTP_REQUEST_CODE_LOGOUT = 402;	
	public final static int HTTP_REQUEST_CODE_FEEDBACK = 403;
}